package com.czn.bookshop.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 订单查询条件包装类
 *
 * @author ChenZeNan
 * @create 2020-12-31 17:33
 */
@Data
public class OrderQueryVo {
    private Integer page;
    private Integer pageSize;
    private String orderNum;
    private String tradeStatus;
    private String orderBy;
    private Integer userId;

    //分页起始位置
    private Integer begin;
    //分页结束位置
    private Integer end;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}

